repo: Move the scanning hardlinks optimization out of prepare_transaction
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 6 Sep 2013 22:51:54 +0000 (18:51 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 7 Sep 2013 00:31:12 +0000 (20:31 -0400)
commitbd2948e9641b4179d53ee5763bd3effb1617ca5a
tree3cb7e6a9903842f24d2a4756dd00f9ddf050d99f
parentf84504a8c402274ed2c93aaf9c678663a8831b95
repo: Move the scanning hardlinks optimization out of prepare_transaction

This is just a terrible API to have. Make the scanning a separate method,
and document it as an optimization.
doc/ostree-sections.txt
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.h
src/ostree/ot-builtin-commit.c
src/ostree/ot-builtin-pull-local.c